package com.ggboy.sc.pl.project.es.model;

import java.io.Serializable;
import java.util.Date;

import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;

import com.baomidou.mybatisplus.annotations.TableId;

/**
 * 政策法规拆分每一条对象
 * 
 * @author gyu
 *
 */
@Document(indexName ="zcfg",type="zcfgData")
public class DocBean implements Serializable{
	private static final long serialVersionUID = -3238755055521906171L;

	/**
	 * 主键id
	 */
	@TableId
	private Integer id;
	
	/**
	 * 文件名
	 */
	private String fileName;

	/**
	 * 政策法规整体文件的Id
	 */
	private String mainId;

	/**
	 * 整体的内容
	 */
	private String mainContent;
	
	/**
	 * 
	 */
	private Date createTime=new Date();

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getMainId() {
		return mainId;
	}

	public void setMainId(String mainId) {
		this.mainId = mainId;
	}

	public String getMainContent() {
		return mainContent;
	}

	public void setMainContent(String mainContent) {
		this.mainContent = mainContent;
	}

	public String getFileName() {
		return fileName;
	}

	public void setFileName(String fileName) {
		this.fileName = fileName;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}



}
